package kr.co.doriclassic.powerjava.chapter04;

import java.util.Scanner;

public class CircleArea {
	public static void main(String[] args) {
		double dReduce;
		double dArea;
		final double PI = 3.141592;
		
		Scanner sc = new Scanner(System.in);
		System.out.print("반지름의 길이를 입력하라:");
		dReduce = sc.nextInt();
		
		dArea = PI * dReduce * dReduce;
		
		System.out.println("반지름이 " + dReduce + "인 원의 넓이는 : "+dArea);
	}
}
